<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" th:href="@{../css/structure.css}">
		<link rel="stylesheet" th:href="@{../css/password.css}">
		<script th:src="@{../js/jquery-1.11.3.js}"></script>
		<script th:src="@{../js/content.js}"></script>
	</head>
		<div class="header">
		    <div class="logo">高校电子投票系统管理员个人中心 </div>
		    <ul class="h_right">
				<span th:text="|欢迎您,${auser}同学|"style="float: left">欢迎您，小强同学</span>
		        <div>
		            <a href="javascript:;" class="xx">消息</a>
		            <span class="number">4</span>
		            <ul class="xiaoxi">
		                <li><a href="javascript:;">系统消息名称系统消息名称</a> <span>03-26 14:54:05</span></li>
		                <li><a href="javascript:;">系统消息名称系统消息名称</a> <span>03-26 14:54:05</span></li>
		                <li><a href="javascript:;">系统消息名称系统消息名称</a> <span>03-26 14:54:05</span></li>
		                <li><a href="javascript:;">系统消息名称系统消息名称</a> <span>03-26 14:54:05</span></li>
		            </ul>
		        </div>
		        <div>
					<a href="login">退出</a>
		       </div>
		    </ul>
		</div>
		<!--content-->
				<div class="content">
				<ul class="nav">
				    <li></li>
				    <li id="0" class="consult"><a href="javascript:;">个人信息</a>
				        <div class="hover">个人信息</div>
				    </li>
				    <li id="1" class="negotiate"><a href="javascript:;">校园资讯</a>
				        <div class="hover">校园资讯</div>
				    </li>
					<li id="2" class="negotiate"><a href="javascript:;">投票项目</a>
					    <div class="hover">投票项目</div>
					</li>
					<li id="3" class="negotiate"><a href="javascript:;">用户信息</a>
					    <div class="hover">用户信息</div>
					</li>
					<li id="4" class="negotiate"><a href="javascript:;">统计信息</a>
					    <div class="hover">统计信息</div>
					</li>
				    <div class="n_button"></div>
				</ul>
				<div class="box">
		
		<div class="nav_v">
		    <div>个人信息</div>
		    <div><a href="admininfo">个人信息</a></div>
		    <div><a href="adminpassword">修改密码</a></div>
		</div>
		<div class="nav_v">
		    <div>校园资讯</div>
		    <div><a href="javascript:;">资讯管理</a></div>
		</div>
		<div class="nav_v">
		    <div>投票项目</div>
			<div><a href="adminproject">项目管理</a></div>
		</div>
		<div class="nav_v">
		    <div>用户信息</div>
		    <div><a href="javascript:;">用户管理</a></div>
		</div>
		<div class="nav_v">
		    <div>统计信息</div>
		    <div><a href="javascript:;">分类统计</a></div>
			   <div><a href="javascript:;">项目票数</a></div>
		</div>
			<div class="b_button"></div>
			</div>
					<div class="inner">

						<div class="in_title">
							位置：<a href="admin">首页</a> ><a href="adminpassword">修改密码</a>
						</div>
						<ul class="in_inner">
							<form onsubmit="Check()" method="get" id="ppp">
								<li>
									<div class="span">用户名：</div>
									<input type="text" name="name" id="name">
									<span>输入您的用户名</span>
								</li>
								<li>
									<div class="span">原密码：</div>
									<input type="password" name="pwd" id="pwd">
									<span>输入您的原密码</span>
								</li>
								<li>
									<div class="span">新密码：</div>
									<input type="password" name="newpwd" id="npwd">
									<span>输入您的密码</span>
								</li>
								<li>
									<div class="span">请再次输入：</div>
									<input type="password" name="agepwd" id="qpwd">
									<span>请再次输入您的密码</span>
								</li>
								<input type="submit" value="提交" id="astrq"/>
								<input type="reset" class="fasle"value="取消" id="astro">
								<div>
									<input type="hidden" id="iserror1" name="iserror1" value="false">
								</div>
							</form>
						</ul>
					</div>
					</body>
					<script>
						function Check()
						{
							var isError= "true";
							if ( document.getElementById("name").value=="")
							{
								alert('请输入用户名!');
								isError= "false";
								return false;
							}
							if ( document.getElementById("pwd").value=="")
							{
								alert('请输入原密码');
								isError= "false";
								return false;
							}
							if ( document.getElementById("npwd").value=="")
							{
								alert('请输入新密码!');
								isError= "false";
								return false;
							}
							if ( document.getElementById("qpwd").value!=document.getElementById("npwd").value)
							{
								alert('与新密码不一致');
								isError= "false";
								return false;
							}
							document.getElementById("iserror1").value=isError;
							return true;
						}
					</script>
				</div>
</html>